﻿namespace Neudesic.Pulse.Entities
{
    public partial class Entity
    {

        /// <summary>
        /// Gets the is user.
        /// </summary>
        /// <value>The is user.</value>
        public bool IsUser
        {
            get { return Type == "user"; }
        }

        /// <summary>
        /// Gets the is system.
        /// </summary>
        /// <value>The is system.</value>
        public bool IsSystem
        {
            get { return Type == "system"; }
        }

    }
}
